package forceoffer;

/*
* @Author: wanghongfucoder
* @Date:   2017-07-14 22:16:59
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-07-14 23:10:44
*/

import java.util.Scanner;

public class ReplaceChar {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		String str=input.next();
		System.out.println(replaceSpace(new StringBuffer(str)));
		input.close();
	}

	public static  String replaceSpace(StringBuffer str){
		if(str==null){
            return null;
        }
       StringBuilder newStr = new StringBuilder();
        for(int i=0;i<str.length();i++){
            if(str.charAt(i)==' '){
                newStr.append('%');
                newStr.append('2');
                newStr.append('0');
            }else{
                newStr.append(str.charAt(i));
            }
        }
        return newStr.toString();
	}

	public  static  String replaceSpace2(StringBuffer str){
		String string=str.toString().replaceAll(" ", "%20");
		return string;
	}
}